x = int(input())
if x%400==0 or x%4 == 0 and x % 100!=0:
    print(f"{x}是闰年")
else:
    print(f"{x}不是闰年")